package cn.bailin233.system.service;

import cn.bailin233.system.entity.user.User;

import java.util.List;

public interface UserService {
    Long doLogin(String name, String pwd);
    List<String> getRoleNameList(Long uid);
    List<String> getResourceNameList(Long uid);
    Long loginInOauthName(String oauthName);
    void insertAccessToken(Long uid, String accessToken);
    String findAccessToken(Long uid);
    int insertOne(User user);
    int binDing(Long uid, String oauthName);
}
